const http = require('http')

require('./model/connect')

const { router } = require('./utils/router')
const { serveStatic } = require('./utils/serve-static');

const app = http.createServer();

app.on('request', (req, res) => {
    serveStatic(req, res, () => { })
    router(req, res, () => { })
});

app.listen(80);
